package com.jflm;

import org.mybatis.spring.annotation.MapperScan;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.transaction.annotation.EnableTransactionManagement;


/** ******************  类说明  *********************
 * class       :  App
 * @author     :  hejinyun@umfintech.com
 * @version    :  1.0  
 * description :  我的红包service
 * @see        :                        
 * ************************************************/
@SpringBootApplication(
		scanBasePackages={"com.jflm.*"},
		exclude={DataSourceAutoConfiguration.class,
				HibernateJpaAutoConfiguration.class})
@MapperScan("com.jflm.mapper")
@EnableTransactionManagement
@EnableAsync
public class App {
	
	private static final Logger LOG = LoggerFactory.getLogger(App.class);
	
	public static void main(String[] args) { 
		LOG.info("#main() App启动开始");
		SpringApplication.run(App.class, args);
		LOG.info("#main() App启动结束");
	}
}
